<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<div class="content">   
﻿<p><?php echo $this->translate('Current user balance'); ?> <?php echo $this->balance; ?></p>


<script type="text/javascript">
	$(document).ready(function(){

    $('#non-cash').hide();
    $('#link-non-cash').click(function(){
    $(this).next().toggle();
});
	}); //end ready
</script>
<p><?php echo $this->translate('Method of payment'); ?></p>

<?php echo "<a href=" . $this->url(array(
                                    'controller' => 'profile',
                                    'action' => 'selectrate')) . "><input type='button' class='button' value='Webmoney'</a>&nbsp;&nbsp;&nbsp;"; ?>
<a id='link-non-cash' href="#"><?php echo $this->translate('Non-cash payment'); ?></a>
          

<div id="non-cash" >
<table border="1px">
    <caption><?php echo $this->translate('Requisites'); ?></caption>
    <tr><td><?php echo $this->translate('Recipient'); ?></td><td><?php echo $this->requisites[0]['recipient']; ?></td></tr>
    <tr><td><?php echo $this->translate('Bank recipient'); ?> </td><td><?php echo $this->requisites[0]['paye_bank']; ?></td></tr>
    <tr><td><?php echo $this->translate('Settlement account'); ?></td><td><?php echo $this->requisites[0]['acct']; ?></td></tr>
    <tr><td><?php echo $this->translate('Adjustment account'); ?></td><td><?php echo $this->requisites[0]['adjustment_acct']; ?></td></tr>
    <tr><td><?php echo $this->translate('INN'); ?> </td><td><?php echo $this->requisites[0]['inn']; ?></td></tr>
    <tr><td><?php echo $this->translate('OKPO'); ?></td><td><?php echo $this->requisites[0]['okpo']; ?></td></tr>
    <tr><td><?php echo $this->translate('MFO'); ?></td><td><?php echo $this->requisites[0]['mfo']; ?></td></tr>
    </tr>
</table>
</div>
</div>